package com.chen.dao;

import com.chen.pojo.User;
import org.apache.ibatis.annotations.Param;

//用户Mapper接口
public interface UserMapper {

    //根据用户名和密码查找用户
    public User getUser(@Param("userName") String userName, @Param("passWord") String passWord);

    //根据用户名查找用户
    public User getUserByName(@Param("userName")String userName);

}
